package com.qut.atcoder.mappers;

import com.qut.atcoder.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    //查询用户表
    List<User> selectUser();

    //按照id来查找用户
    List<User> selectUserById(User user);

    //插入用户表
    int insertUser(User user);

    //通过id更新用户表
    int updateUserById(User user);
}
